package com.example.demo.service;

import com.example.demo.entity.Message;
import java.util.List;

public interface MessageService {
    void sendMessage(int sender, int receiver, String content);
    List<Message> getMessages(int user_id, int targetUser_id);
    List<Message> getConversation(Integer user_id, Integer targetUser_id);
}